package com.ruoyi.teaching.mapper;

import java.util.List;
import com.ruoyi.teaching.domain.TeachingRecord;

/**
 * 学历信息Mapper接口
 * 
 * @author ruoyi
 * @date 2022-03-21
 */
public interface TeachingRecordMapper 
{
    /**
     * 查询学历信息
     * 
     * @param recordId 学历信息主键
     * @return 学历信息
     */
    public TeachingRecord selectTeachingRecordByRecordId(Long recordId);

    /**
     * 查询学历信息列表
     * 
     * @param teachingRecord 学历信息
     * @return 学历信息集合
     */
    public List<TeachingRecord> selectTeachingRecordList(TeachingRecord teachingRecord);

    /**
     * 新增学历信息
     * 
     * @param teachingRecord 学历信息
     * @return 结果
     */
    public int insertTeachingRecord(TeachingRecord teachingRecord);

    /**
     * 修改学历信息
     * 
     * @param teachingRecord 学历信息
     * @return 结果
     */
    public int updateTeachingRecord(TeachingRecord teachingRecord);

    /**
     * 删除学历信息
     * 
     * @param recordId 学历信息主键
     * @return 结果
     */
    public int deleteTeachingRecordByRecordId(Long recordId);

    /**
     * 批量删除学历信息
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTeachingRecordByRecordIds(Long[] recordIds);
}
